<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<jsp:include page="Menu.jsp"></jsp:include>
<c:remove var="student" scope="session"></c:remove>
<table>
	<tbody>
		<tr>
			<th colspan="2" height="30">Student System Management</th>
		</tr>
		<tr>
			<td valign="top">Welcome, ${sessionScope.user.fname } ${sessionScope.user.lname }<br /> <br />
				<p style="margin:0 auto;">
					The following details of student <br /> are saved successfully with the SID: <br /> ${sessionScope.student.sid } <br />
				</p>
				<p style="margin: 0 auto;">
						First Name: ${sessionScope.student.fname }<br />
						Last Name: ${sessionScope.student.lname }<br />
						DOB: <fmt:formatDate value="${student.dob }" pattern="dd-MM-yyyy"/> <br />
						Email: ${sessionScope.student.email }<br />
						Mobile: ${sessionScope.student.mobile }<br />
				</p>
			</td>
		</tr>
		<tr>
			<th colspan="2" height="30">@ Copyrights Trần Thanh I Len</th>
		</tr>
	</tbody>
</table>